package com.rajesh.messageservice.bean;

/**
 * 保存服务状态
 */
public class StatusKeeper {

    public StatusKeeper(){}

    public StatusKeeper(long cursorIndex){
        this.cursorIndex = cursorIndex;
    }

    private long cursorIndex;

    public void setCursorIndex(long cursorIndex){
        this.cursorIndex = cursorIndex;
    }

    public long getCursorIndex(){
        return this.cursorIndex;
    }
}
